package com.rla.mapper;

import com.rla.domain.VipUserRule;
import com.rla.domain.vo.VipUserRuleVo;
import com.rla.common.core.mapper.BaseMapperPlus;

import java.util.List;
import java.util.Map;

/**
 * 会员等级Mapper接口
 *
 * @author rla
 * @date 2025-08-30
 */
public interface VipUserRuleMapper extends BaseMapperPlus<VipUserRuleMapper, VipUserRule, VipUserRuleVo> {

    Map<String,Object> queryUserRuleByUserId(String userId);

    List<Map<String,Object>> queryRightsList(String ruleId);
}
